import static org.junit.jupiter.api.Assertions.assertEquals;

public class Test {
    @org.junit.jupiter.api.Test
    public void test1() {
        int []starttime=new int[]{15,31,26};
        int []endtime=new int[]{15,31,27};
        int day=1;
        int month=4;
        int year=2022;
        Bill bill = new Bill();
        assertEquals("0.05",bill.classify(starttime,endtime,day,month,year));
    }
    @org.junit.jupiter.api.Test
    public void test2() {
        int []starttime=new int[]{1,59,30};
        int []endtime=new int[]{3,0,15};
        int day=26;
        int month=3;
        int year=2023;
        Bill bill = new Bill();
        assertEquals("0.05",bill.classify(starttime,endtime,day,month,year));
    }
    @org.junit.jupiter.api.Test
    public void test3() {
        int []starttime=new int[]{2,59,55};
        int []endtime=new int[]{2,0,15};
        int day=30;
        int month=10;
        int year=2022;
        Bill bill = new Bill();
        assertEquals("0.05",bill.classify(starttime,endtime,day,month,year));
    }
    @org.junit.jupiter.api.Test
    public void test4() {
        int []starttime=new int[]{5,45,30};
        int []endtime=new int[]{5,55,20};
        int day=1;
        int month=5;
        int year=2022;
        Bill bill = new Bill();
        assertEquals("0.50",bill.classify(starttime,endtime,day,month,year));
    }
    @org.junit.jupiter.api.Test
    public void test5() {
        int []starttime=new int[]{1,50,20};
        int []endtime=new int[]{3,0,10};
        int day=27;
        int month=3;
        int year=2022;
        Bill bill = new Bill();
        assertEquals("0.50",bill.classify(starttime,endtime,day,month,year));
    }
    @org.junit.jupiter.api.Test
    public void test6() {
        int []starttime=new int[]{2,50,50};
        int []endtime=new int[]{2,5,10};
        int day=30;
        int month=10;
        int year=2022;
        Bill bill = new Bill();
        assertEquals("0.75",bill.classify(starttime,endtime,day,month,year));
    }
    @org.junit.jupiter.api.Test
    public void test7() {
        int []starttime=new int[]{7,30,30};
        int []endtime=new int[]{8,30,30};
        int day=5;
        int month=9;
        int year=2022;
        Bill bill = new Bill();
        assertEquals("5.00",bill.classify(starttime,endtime,day,month,year));
    }
    @org.junit.jupiter.api.Test
    public void test8() {
        int []starttime=new int[]{1,50,50};
        int []endtime=new int[]{3,50,50};
        int day=28;
        int month=3;
        int year=2021;
        Bill bill = new Bill();
        assertEquals("5.00",bill.classify(starttime,endtime,day,month,year));
    }
    @org.junit.jupiter.api.Test
    public void test9() {
        int []starttime=new int[]{1,50,20};
        int []endtime=new int[]{3,50,20};
        int day=31;
        int month=10;
        int year=2021;
        Bill bill = new Bill();
        assertEquals("17.00",bill.classify(starttime,endtime,day,month,year));
    }

}
